package com.hnzq.cloud.util;

import lombok.Data;

@Data
public class FreException extends RuntimeException {
    private Integer code;
    public FreException(String msg,Integer code){
        super(msg);
        this.code=code;
    }
    public FreException(String msg) {
        super(msg);
        this.code = 1001;
    }
}
